package org.pangu.test.jdklistener;

import java.util.EventListener;

/**
 * @author zhangyj
 * @date 2022/7/19 22:56
 */
public class LoginListener implements EventListener {

    public void onEvent(LoginEvent event) {
        LoginSupport source = (LoginSupport) event.getSource();
        source.callBack();//回调事件源
    }
}
